The Views Collection is a collection of views for a report. A View Object, is created when a report is first generated and displayed in the Preview window. If a user drills
The Views collection contains all View objects for the report. However, since only the currently active view can be accessed, the Count property will always contain a value of 1. The currently active View object can be accessed by passing 1 to the Item property. For example:
Set activeView = viewsCollection.Item(1)
Property | Description | Read/Write |
---|---|---|
Returns a reference to the Application Object, that this object is associated with. | ||
Returns the number of views in the collection. Because only one view is supported (preview), this number should always be 1. | ||
Returns View Object. Item has an index parameter that is a numeric, 1 | ||
Reference to the Parent object Window Object). | ||
Reference to Report Object. |
Instead of using the Item property as shown, you can reference a view directly (for example, Views (1)).
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |